import Vue from 'vue'
import App from './App.vue'

// import '@/assets/iconfont/iconfont.css'
// import '@/assets/iconfont/config.css'

Vue.config.productionTip = false

// 引入element-ui
import ElementUI from 'element-ui';
// 引入element-ui的样式
import 'element-ui/lib/theme-chalk/index.css';
// import "../public/scss/index.scss";
// 启用ElementUI
Vue.use(ElementUI);

// 引入vue-router
import VueRouter from "vue-router";
// 启用Router路由
Vue.use(VueRouter);

// 引入axios
import axios from '@/axios/axios';
// 注册为全局属性，Vue.prototype.$xxx 可以注册任意全局属性
Vue.prototype.$axios = axios;

// 引入路由的配置
import router from "@/router/router";


new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
